package cn.stylefeng.guns.modular.demos.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 通行证申请表
 * </p>
 *
 * @author zjj
 * @since 2020-09-09
 */
@TableName("biz_pass_check_request")
public class BizPassCheckRequest implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 通行证编号
     */
    @TableField("pass_check_num")
    private String passCheckNum;

    /**
     * 车牌号
     */
    @TableField("car_num")
    private String carNum;

    /**
     * 车辆类型
     */
    @TableField("car_type")
    private String carType;

    /**
     * 驾驶员姓名
     */
    @TableField("driver_name")
    private String driverName;

    /**
     * 驾驶员身份证
     */
    @TableField("driver_id_card")
    private String driverIdCard;

    /**
     * 联系电话
     */
    @TableField("contact_number")
    private String contactNumber;

    /**
     * 所属类型：0：个人，1：单位
     */
    @TableField("subordinate_type")
    private Integer subordinateType;

    /**
     * 所属单位
     */
    @TableField("subordinate_unit")
    private String subordinateUnit;

    /**
     * 通行状态,字典 SYS_ZDCL_AUDIT_STATUS
     */
    @TableField("pass_check_status")
    private Integer passCheckStatus;

    /**
     * 申请通行结束时间
     */
    @TableField("app_end_time")
    private Date appEndTime;

    /**
     * 申请通行开始时间
     */
    @TableField("app_start_time")
    private Date appStartTime;

    /**
     * 出发地名称
     */
    @TableField("start_address")
    private String startAddress;

    /**
     * 目的地名称
     */
    @TableField("end_address")
    private String endAddress;

    /**
     * 通行证类型, 字典 SYS_ZDCL_PASS_TYPE
     */
    @TableField("pass_type")
    private String passType;

    /**
     * 申请理由
     */
    @TableField("app_the_reason")
    private String appTheReason;

    /**
     * 允许通行结束时间
     */
    @TableField("pass_end_time")
    private Date passEndTime;

    /**
     * 允许通行开始时间
     */
    @TableField("pass_start_time")
    private Date passStartTime;

    /**
     * 行驶路径
     */
    @TableField("driving_path")
    private String drivingPath;

    /**
     * 通行证PDF文件
     */
    @TableField("pass_check_file_id")
    private Long passCheckFileId;

    @TableField("pass_check_img_file_id")
    private Long passCheckImgFileId;

    /**
     * 对外id
     */
    @TableField("public_id")
    private String publicId;

    /**
     * 创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 是否删除0:否，-1: 删除
     */
    @TableField("del_flag")
    private Integer delFlag;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassCheckNum() {
        return passCheckNum;
    }

    public void setPassCheckNum(String passCheckNum) {
        this.passCheckNum = passCheckNum;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverIdCard() {
        return driverIdCard;
    }

    public void setDriverIdCard(String driverIdCard) {
        this.driverIdCard = driverIdCard;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public Integer getSubordinateType() {
        return subordinateType;
    }

    public void setSubordinateType(Integer subordinateType) {
        this.subordinateType = subordinateType;
    }

    public String getSubordinateUnit() {
        return subordinateUnit;
    }

    public void setSubordinateUnit(String subordinateUnit) {
        this.subordinateUnit = subordinateUnit;
    }

    public Integer getPassCheckStatus() {
        return passCheckStatus;
    }

    public void setPassCheckStatus(Integer passCheckStatus) {
        this.passCheckStatus = passCheckStatus;
    }

    public Date getAppEndTime() {
        return appEndTime;
    }

    public void setAppEndTime(Date appEndTime) {
        this.appEndTime = appEndTime;
    }

    public Date getAppStartTime() {
        return appStartTime;
    }

    public void setAppStartTime(Date appStartTime) {
        this.appStartTime = appStartTime;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public String getPassType() {
        return passType;
    }

    public void setPassType(String passType) {
        this.passType = passType;
    }

    public String getAppTheReason() {
        return appTheReason;
    }

    public void setAppTheReason(String appTheReason) {
        this.appTheReason = appTheReason;
    }

    public Date getPassEndTime() {
        return passEndTime;
    }

    public void setPassEndTime(Date passEndTime) {
        this.passEndTime = passEndTime;
    }

    public Date getPassStartTime() {
        return passStartTime;
    }

    public void setPassStartTime(Date passStartTime) {
        this.passStartTime = passStartTime;
    }

    public String getDrivingPath() {
        return drivingPath;
    }

    public void setDrivingPath(String drivingPath) {
        this.drivingPath = drivingPath;
    }

    public Long getPassCheckFileId() {
        return passCheckFileId;
    }

    public void setPassCheckFileId(Long passCheckFileId) {
        this.passCheckFileId = passCheckFileId;
    }

    public Long getPassCheckImgFileId() {
        return passCheckImgFileId;
    }

    public void setPassCheckImgFileId(Long passCheckImgFileId) {
        this.passCheckImgFileId = passCheckImgFileId;
    }

    public String getPublicId() {
        return publicId;
    }

    public void setPublicId(String publicId) {
        this.publicId = publicId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "BizPassCheckRequest{" +
        "id=" + id +
        ", passCheckNum=" + passCheckNum +
        ", carNum=" + carNum +
        ", carType=" + carType +
        ", driverName=" + driverName +
        ", driverIdCard=" + driverIdCard +
        ", contactNumber=" + contactNumber +
        ", subordinateType=" + subordinateType +
        ", subordinateUnit=" + subordinateUnit +
        ", passCheckStatus=" + passCheckStatus +
        ", appEndTime=" + appEndTime +
        ", appStartTime=" + appStartTime +
        ", startAddress=" + startAddress +
        ", endAddress=" + endAddress +
        ", passType=" + passType +
        ", appTheReason=" + appTheReason +
        ", passEndTime=" + passEndTime +
        ", passStartTime=" + passStartTime +
        ", drivingPath=" + drivingPath +
        ", passCheckFileId=" + passCheckFileId +
        ", passCheckImgFileId=" + passCheckImgFileId +
        ", publicId=" + publicId +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        ", version=" + version +
        ", delFlag=" + delFlag +
        "}";
    }
}
